﻿using System.Windows;
using System.Windows.Controls;
using churchtool.ViewModel;

namespace churchtool.View
{
    /// <summary>
    /// Interaktionslogik für SettingsWindowView.xaml
    /// </summary>
    public partial class SettingsWindowView : UserControl
    {
        public SettingsWindowView()
        {
            InitializeComponent();
        }

        #region Event Handlers

        /// <summary>
        /// Subscribes to View Model events when data context is set.
        /// </summary>
        /// <remarks>
        /// This method subscribes to the view model's WorkStarting and
        /// WorkEnding events to control display of the Progress dialog
        /// provided by the application.
        /// </remarks>
        private void OnDataContextChanged(object sender, DependencyPropertyChangedEventArgs e)
        {
            var viewModel = (SettingsWindowViewModel)e.NewValue;
        }

        #endregion
    }
}
